package com.dingup.api.template.message.util;

/**
 * Created by wancheng on 2018/7/17.
 */
public class DingTalkConstUtil {

    public static final String DINGTALK_APPID = DingTalkConfig.getInstance().getAppid();

    public static final String DINGTALK_APPSECRET = DingTalkConfig.getInstance().getAppsecret();

    public static final String DINGTALK_CORPID = "dingdcf7fc814559e775";

    public static final String DINGTALK_PROCESS_CODE_SAHNGHAI = "PROC-0KYJ7UZU-HJE0USZ04RT7D4SPZJFF3-LQN6TNOJ-12";

    public static final String DINGTALK_PROCESS_CODE_BEIJING = "PROC-NWDKIKJV-V37VIVN8OXPUGIVLNSJW1-N8LYD7HJ-3";

    public static final String XINIAO_AGENT_ID = DingTalkConfig.getInstance().getAgentId();

    public static final String DINGTALK_CORPSECRET = "dKPhVeRhVXXGSAZYEqYKqzKoGrWB4X91rNJUvkstnBGly3c_QN4__tO1bK5L9r01";

    public static final String DINGTALK_CORPSECRET_YUPEI = "tLR22dT4q0Een9BTxmf61pBQpeeLuw9jEjrGDJdUMx2c-P56D-uqrAySNHdpsC2W";

    public static final String GET = "GET";

    public static final String AGREE = "agree";

    public static final String USER_ID = "userId";

    public static final String PROCESS_INSTANCE_ID = "processInstanceId";

    public static final String UNIT = "unit";

    public static final String FROM_TIME = "fromTime";

    public static final String TO_TIME = "toTime";

    public static final String DURATION_IN_HOUR = "durationInHour";

    public static final String DETAIL_LIST = "detailList";

    public static final String DINGTALK_APP_TOKEN_URL = "https://oapi.dingtalk.com/sns/gettoken";

    public static final String APP_GET_PERSISTENT_CODE = "https://oapi.dingtalk.com/sns/get_persistent_code";

    public static final String APP_GET_SNS_TOKEN = "https://oapi.dingtalk.com/sns/get_sns_token";

    public static final String APP_GET_USER_INFO = "https://oapi.dingtalk.com/sns/getuserinfo";

    public static final String SERVER_AUTH_SCOPES = "https://oapi.dingtalk.com/auth/scopes";

    public static final String SERVER_SEND_MSG = "https://oapi.dingtalk.com/topapi/message/corpconversation/asyncsend_v2";

    public static final String SERVER_TOKEN_URL = "https://oapi.dingtalk.com/gettoken";

    public static final String SERVER_GET_USER_LIST = "https://oapi.dingtalk.com/user/list";

    public static final String APP_E_PART_GET_USER_INFO_URL = "https://oapi.dingtalk.com/user/getuserinfo";

    public static final String SERVER_GET_JSAPI_TICKET = "https://oapi.dingtalk.com/get_jsapi_ticket";

    public static final String SERVER_USER_PROCESS_URL = "https://oapi.dingtalk.com/topapi/processinstance/listids";

    public static final String SERVER_USER_PROCESS_INSTANCE_URL = "https://oapi.dingtalk.com/topapi/processinstance/get";
}
